import request from '@/utils/request'

// 查询sysrl_project_layer列表
export function listLayerMeta(query) {
  return request({
    url: '/survey/layermeta/list',
    method: 'get',
    params: query
  })
}

// 查询sysrl_project_layer详细
export function getLayerMeta(fProjectid) {
  return request({
    url: '/survey/layermeta/' + fProjectid,
    method: 'get'
  })
}

// 新增sysrl_project_layer
export function addLayerMeta(data) {
  return request({
    url: '/survey/layermeta',
    method: 'post',
    data: data
  })
}

// 修改sysrl_project_layer
export function updateLayerMeta(data) {
  return request({
    url: '/survey/layermeta',
    method: 'put',
    data: data
  })
}

// 删除sysrl_project_layer
export function delLayerMeta(fProjectid) {
  return request({
    url: '/survey/layermeta/' + fProjectid,
    method: 'delete'
  })
}
